<?php
   $db_host = "localhost";
   $db_user = "root";
   $db_pass = "";

   $database = "ssts";

   $db = mysql_connect($db_host, $db_user, $db_pass);
   if (!$db)
   {
      echo mysql_error();
   }


   $database_connect = mysql_select_db($database,$db);

   if ($database_connect == 0)
   {
      echo mysql_error();
   }


?>